package com.lanchetech.dao;

import com.lanchetech.bean.vo.BusinessCardVO;
import com.lanchetech.entity.BusinessCard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BusinessCardMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BusinessCard record);

    int insertSelective(BusinessCard record);

    BusinessCard selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BusinessCard record);

    int updateByPrimaryKey(BusinessCard record);

    BusinessCardVO findOneByUserId(@Param("userId") Long userId);
}